import http from './http';
function login(data){
    let {username,password} = data;
    return http({
        method:"post",
        url:`/api/login`,
        data:{
            username,password
        }
    })
}
export default login;